package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeExpertRecommendCandidate;
import com.qtp.common.data.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author 查慧英
 * @date 2019-11-21 15:24
 */
@Repository
public class BeExpertRecommendCandidateMapper extends BaseDao<BeExpertRecommendCandidate> {
    public List<BeExpertRecommendCandidate> getRecommendCandidateList(Map<String,Object> params) {
        return this.getSqlSession().selectList(this.sqlId("getRecommendCandidateList"), params);
    }

    public int deleteBySectionId(Map<String,Object> params){
        return this.getSqlSession().delete(this.sqlId("deleteBySectionId"),params);
    }
}
